package com.qike.duola.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @Author: Eric.zhou
 * @Date: 2020/8/24 15:29
 */
@ApiModel("权限编辑")
public class ResourceEditDto implements Serializable {

    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("菜单名")
    private String name;
    @ApiModelProperty("路由地址")
    private String url;
    @ApiModelProperty("父级菜单id")
    private Long parentId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }
}
